using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Spotshub.Api.Controllers
{
    public class HomeController : Controller
    {
        public ActionResult Index()
        {
            ViewBag.Title = "Home Page";

            return View();
        }

        public ActionResult GetForm(string uID)
        {
            ViewBag.url = "https://safe.sandbox-gtpaysecure.net/hpf/1_1/?uID=" + uID;
            return View();
        }

		public ActionResult Ping()
		{
			return new JsonResult() { 
				Data = new { Status = "OK" }, 
				ContentEncoding = System.Text.Encoding.UTF8, 
				ContentType = "application/json" 
			};
		}
    }
}
